<template>
	<view class="content">
		<view class="infoBox">
			<view class="item">
				<text class="label">姓 名：</text>
				<input type="text" class="name" v-model="name" />
				<image :src="baseUrl+'img/my/modify.png'" class="modify"></image>
			</view>
			<view class="item">
				<text class="label">房 号：</text>
				<input type="text" class="name" v-model="name" />
				<image :src="baseUrl+'img/my/modify.png'" class="modify"></image>
			</view>
			<view class="item noBorder">
				<text class="label">手机号：</text>
				<input type="text" class="name" v-model="name" />
				<image :src="baseUrl+'img/my/modify.png'" class="modify"></image>
			</view>
		</view>
		<view class="logout">
			退出登录
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name: '用户昵称',
				baseUrl: this.$baseUrl,
				avatar: this.$baseUrl + '/img/my/avatar.png',
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.logout {
		width: 670rpx;
		height: 100rpx;
		border-radius: 6rpx;
		background: #121212;
		margin-top: 120rpx;
		font-weight: 700;
		font-size: 26rpx;
		color: #fff;
		margin-left: 40rpx;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.infoBox {
		width: 670rpx;
		height: 360rpx;
		padding-left: 40rpx;
		padding-right: 40rpx;
		background-color: #fff;
		margin-top: 25rpx;

		.item {
			position: relative;
			display: flex;
			align-items: center;
			width: 100%;
			height: 120rpx;
			border-bottom: 1rpx solid #121212;

			.name {
				position: absolute;
				right: 70rpx;
				font-weight: 700;
				font-size: 26rpx;
				color: #121212;
				text-align: right;
			}

			.modify {
				position: absolute;
				right: 0%;
				top: 50rpx;
				width: 21rpx;
				height: 25rpx;
			}

			.label {
				font-weight: 700;
				font-size: 26rpx;
				color: #121212;
			}
		}
	}

	.content {
		width: 100%;
		min-height: 100vh;
		background-color: #F0F0F0;
		display: flex;
		flex-direction: column;
	}
</style>